package com.cr.sync.mapper;

import java.util.List;
import com.cr.sync.domain.TbSyncDetectionSampling;
import com.cr.sync.domain.vo.CountVo;
import com.cr.sync.domain.vo.detectionSampling.SamplingCountVo;
import com.cr.sync.domain.vo.detectionSampling.YearCount;

/**
 * 远程数据-检测信息Mapper接口
 * 
 * @author tang
 * @date 2025-08-29
 */
public interface TbSyncDetectionSamplingMapper 
{
    /**
     * 删除全部数据
     */
    int deleteAll();

    /**
     * 获取检测信息数量
     */
    List<SamplingCountVo> selectDetectionSamplingCount(String area);

    /**
     * 抽样场所统计
     */
    List<CountVo> selectSamplingPlaceCount(String area);

    /**
     * 新增远程数据-检测信息
     * 
     * @param tbSyncDetectionSampling 远程数据-检测信息
     * @return 结果
     */
    int insertTbSyncDetectionSampling(TbSyncDetectionSampling tbSyncDetectionSampling);

    List<YearCount> selectYearCount(String area);

    int deleteBatch(List<TbSyncDetectionSampling> list);
    int insertBatch(List<TbSyncDetectionSampling> list);
}
